package com.thinkcube.edutainment.domain.dto;

import org.androidannotations.annotations.EBean;
import org.androidannotations.annotations.EBean.Scope;
import org.springframework.util.LinkedMultiValueMap;
import org.springframework.util.MultiValueMap;

/**
 * Shanuka @Cyberlmj 9:01:37 PM Email: shanuka.gayashan@cyberlmj.com
 */
@EBean(scope = Scope.Singleton)
public class OAuthDto {

	private String appId;
	private String appSecret;

	public MultiValueMap<String, String> getMultiValuedMap() {
		MultiValueMap<String, String> mvMap = new LinkedMultiValueMap<String, String>();
		mvMap.add("app_id", this.getAppId());
		mvMap.add("app_secret", this.getAppSecret());
		return mvMap;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appIdValue) {
		this.appId = appIdValue;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecretValue) {
		this.appSecret = appSecretValue;
	}

}
